<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link type="text/css" href="/css/core.css" rel="stylesheet"/>
    <link type="text/css" href="/layui/css/layui.css" rel="stylesheet">
    <link type="text/css" href="/css/main/module/lobby/world.css" rel="stylesheet">
</head>
<body>
<div id="all">
    <div th:include="main/main_h :: main_head"></div>
    <div id="core">
        <div>
            <input id="user_id" name="user_id" type="hidden" th:value="${user.user_id}">
            <input id="user_state" name="user_state" type="hidden" value="">
        </div>
        <div id="sj_div">
            <div id="sj_l" class="q"><ul id="bbq"></ul></div>
            <div id="sj_r" class="q">
                <ul id="zzq">
                    <li th:each="item : ${items}">
                        <span th:text="${item.name} + '('"></span>
                        <span th:each="mater, materStat : ${item.needMaters}">
                            <span th:text="${mater.name}+${mater.count}"></span>
                            <span th:if="${not materStat.last}" th:text="','"></span>
                        </span>
                        <span th:text="')--耗时:'+${item.needTime}+'个系统秒'"></span><br/><span>--数量:</span>
                        <input th:id="zzc+${item.id}" type="number" class="zzcount" value="" >-<input type="button" class="zz" value="制造" th:data_id="${item.id}" th:data_name="${item.name}" th:data_needtime="${item.needTime}" onclick="zz(this)" >
                    </li>
                </ul>
            </div>
        </div>
        <div id="nr">
<!--            <div class="zy-div" th:each="res : ${reslist}" th:id="${res.Res_Name}" th:xl="${res.Res_Hp}" th:style="'top:'+${res.Res_Top}+'px;left:'+${res.Res_Left}+'px;'">-->
<!--                <div class="shuye" th:if="${res.Res_Type == 'tree'}"></div>-->
<!--                <div class="shu" th:if="${res.Res_Type == 'tree'}"></div>-->

<!--                <div class="shi1" th:if="${res.Res_Type == 'rock'}"></div>-->
<!--                <div class="shi2" th:if="${res.Res_Type == 'rock'}"></div>-->
<!--                <div class="shi3" th:if="${res.Res_Type == 'rock'}"></div>-->

<!--                <div class="tx_div" th:onclick="|upset('${res.Res_Name}')|">-->
<!--                    <img class="tx" th:if="${res.UseUser == null}"/>-->
<!--                    <img class="tx" th:if="${res.UseUser != null}" th:src="${res.UseUser.user_img.file_path}+${res.UseUser.user_img.file_name}"/>-->
<!--                </div>-->
<!--            </div>-->
        </div>
    </div>
</div>
</body>
<script src="/js/gj/jquery-3.5.1.min.js"></script>
<script src="/layui/layui.js"></script>
<script src="/js/main/module/lobby/world.js"></script>
<script>

</script>
</html>